package com.tongguan.paypos.entity;

import com.google.gson.Gson;

/**
 * Created by Joylive on 2016/12/6 .
 */

public class UserInfo {

    /**
     * message : 登陆成功
     * status : 100
     * account :
     * password :
     * merchantName : 威富通对私测试
     * merchantId : 616072040100005
     */

    private String message;
    private int status;
    private String merchantName;
    private String merchantId;
    private String account;
    private String password;
    private String wxMerchantName;
    private String wxMerchantId;
    private String zfbMerchantName;
    private String zfbMerchantId;

    public static UserInfo objectFromData(String str) {
            return new Gson().fromJson(str, UserInfo.class);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getWxMerchantName() {
        return wxMerchantName;
    }

    public void setWxMerchantName(String wxMerchantName) {
        this.wxMerchantName = wxMerchantName;
    }

    public String getWxMerchantId() {
        return wxMerchantId;
    }

    public void setWxMerchantId(String wxMerchantId) {
        this.wxMerchantId = wxMerchantId;
    }

    public String getZfbMerchantName() {
        return zfbMerchantName;
    }

    public void setZfbMerchantName(String zfbMerchantName) {
        this.zfbMerchantName = zfbMerchantName;
    }

    public String getZfbMerchantId() {
        return zfbMerchantId;
    }

    public void setZfbMerchantId(String zfbMerchantId) {
        this.zfbMerchantId = zfbMerchantId;
    }
}
